<template>
	<view>
		<view class="list flex-s" v-for="(item,index) in list">
			<view class="">
				<view class="name">{{name}}</view>
				<view class="address">{{item.all_name}}</view>
			</view>
			<view class="ljck" @click="apifun.navigate('/bundle_b/pages/iddetail?shop_address_id='+item.id)">
				立即查看
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list:[],
				name:'',
			}
		},
		onLoad() {
			this.list=JSON.parse(decodeURIComponent(this.$Route.query.list))
			this.name=this.$Route.query.name 
			// console.log('1',this.name)
		},
		methods: { 
			
		}
	}
</script>

<style>
	.list{
		background-color: #fff;
		padding: 24rpx;
		margin: 0 20rpx;
		margin-bottom: 20rpx;
		border-radius: 12rpx;
	}
	.name{
		font-size: 26rpx;
		margin-bottom: 10rpx;
	}
	.address{
		font-size: 22rpx;
		color: #a0a0a0;
	}
	.ljck{
		border: 1rpx solid #909090;
		border-radius: 30rpx;
		padding: 2rpx 14rpx;
		font-size: 24rpx;
	}
</style>
